<template>
	<div class="com">
		<slot name="a"></slot>
		<slot name="asd"></slot>
		<h1>你好</h1>
		{{name}}{{age}}
		<button @click="$emit('patch')">发送到父组件</button>
		<slot name="b"></slot>
	</div>
</template>

<script>
	export default{
		props:['age'],
		data(){
			return{
				name: 'com'
			}
		}
	}
</script>

<style>
</style>
